import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/call',
    name: 'call',
    component: () => import(/* webpackChunkName: "Call" */ '../views/call.vue')
  },
  {
    path: '/',
    redirect: '/call'
  },
  {
    path: '*',
    redirect: '/'
  },
]

export default new VueRouter({
  routes
})
